//
//  YT_StartupCommand.swift
//  CommandPattern
//
//  Created by aron on 2017/6/4.
//  Copyright © 2017年 aron. All rights reserved.
//

import UIKit

class YT_StartupCommand: YT_ComputerCommand {
    
    private var receiver : YT_Computer?
    
    init(receiver : YT_Computer) {
        self.receiver = receiver
    }
    
    func execute() {
        print("Startup command execute")
        self.receiver?.startup()
    }
}
